package com.EAIPClub.ResourcesInfoManager.service;

import com.api.POJO.ResourcesInfoManager.ResourcesInfoManagerBaseInfo;
import com.api.POJO.ResourcesInfoManager.ResourcesInfoManagerReturnMsg;
import com.api.POJO.ResourcesInfoManager.ResourcesInfoManagerUserFileInfo;

/**
 * @Description :
 * @Author :
 * @Date : 2021/11/2
 */
public interface ResourcesInfoManagerBaseInfoService {

    ResourcesInfoManagerReturnMsg addNewBaseInfo(ResourcesInfoManagerBaseInfo baseInfo);
    ResourcesInfoManagerReturnMsg getBaseInfoById(Integer id);
    ResourcesInfoManagerReturnMsg getBaseInfoByUid(String uid);
    ResourcesInfoManagerReturnMsg getBaseInfoByFileName(String fileName);
    ResourcesInfoManagerReturnMsg getBaseInfoByFileSize(String fileSize);
    ResourcesInfoManagerReturnMsg getBaseInfoByDate(String date);
    ResourcesInfoManagerReturnMsg getBaseInfoByMD5(String MD5);
    ResourcesInfoManagerReturnMsg getBaseInfoByHdfs(Character HDFS);
    ResourcesInfoManagerReturnMsg getBaseInfoByLocation(String location);
    ResourcesInfoManagerReturnMsg updateBaseInfoById(Integer id,ResourcesInfoManagerBaseInfo baseInfo);
    ResourcesInfoManagerReturnMsg updateBaseInfoByUid(String uid , ResourcesInfoManagerUserFileInfo fileInfo);
    ResourcesInfoManagerReturnMsg deleteBaseInfoById(Integer id);
    ResourcesInfoManagerReturnMsg deleteBaseInfoByUid(String uid);


}
